/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.kungkhies.mvc.stats;

import com.kungkhies.services.stats.StatsService;
import java.util.Map;
import javax.inject.Inject;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 *
 * @author clayton
 */
@Controller
public class StatsController
{
    private StatsService statsService;
    
    @Inject
    public StatsController(StatsService statsService) 
    {
        this.statsService = statsService;
    }   
    
    @RequestMapping(value={"/stats"}, method = RequestMethod.GET)
    public String showHomePage(Map<String, Object> model)
    {
        return "stats";
    }
}

